<?php
/*
 * data store.for inner cache results
 */
class ds
{
	private static $_cache = array();
	public static function get($name)
	{
		return empty(self::$_cache[$name])?null:self::$_cache[$name];
	}

	public static function set($name,$data)
	{
		self::$_cache[$name] = $data;
	}
}
